package com.oildatacollection.message;

public class SendMessage {
    private int wellID;
    private byte[] data;
    private boolean close;

    public SendMessage(int wellID, byte[] data) {
        this.wellID = wellID;
        this.data = data;
        this.close = false;
    }

    public int getWellID() {
        return wellID;
    }

    public void setClose(boolean close) {
        this.close = close;
    }

    public boolean isClose() {
        return close;
    }

    public byte[] getData() {
        return data;
    }

    public boolean isEmpty() {
        return data.length == 0;
    }
}
